    <script setup>
    defineProps({
      name: String,
      size: {
        type: [
          String,
          Number,
        ],
        default: 32,
      },
      color: {
        type: String,
        default: '#333',
      },
    });
    </script>

    <script>
    import DanHuangPai from '@/icon-components/dan-huang-pai.vue';
import DunPai from '@/icon-components/dun-pai.vue';
import Phone from '@/icon-components/phone.vue';
import ShoppingCart from '@/icon-components/shopping-cart.vue';

    export default {
      components: {
        DanHuangPai,
DunPai,
Phone,
ShoppingCart,

      },
    };
    </script>

    <template>
      <component
        :is="name"
        :size="size"
        :color="color"
      />
    </template>
  